\\ Written by Donald T. Becker (dtbecker@prolog.net) IRC: StarDustr
// Please mail any bug reports/comments to the above address with a subject
\\ header of MCF.AMIRX.
//
\\ ** What to do with this file?
// Put this script in REXX: It will be used by MCF.AMIRX.
\\
// *Known BUG* /DCC SEND does not seem to work with filenames
\\ that contain spaces in them.
*/
;arg MCFenv auth Rnick junk Fnum junk;address value(MCFenv);xl=pos(".",MCFenv);Client=substr(MCFenv,xl+1);FSC="FSERV."||Client;Flag=getclip(FSC);if Flag="N" then;do;"RAW PRIVMSG "Rnick" :The File Server is not Available at this time.";exit;end;ppos=pos("#",Fnum)+1;epos=pos(".",Fnum);if ppos=1|epos<ppos then exit;Fcnt=substr(Fnum,ppos,epos-2);call open("Input","MCF:MCF.FSend","R");do cnt=1 by 1 until cnt=Fcnt;xx=readln("Input");end cnt;call close("Input");parse value xx with xnum Fname;Fname=strip(Fname,'L');"say /DCC SEND" Rnick Fname;exit